package com.graduate.after.bean;

import java.util.Date;

public class OrderInfo {

    private Long id;

    private String userName;

    private Double totalMoney;

    private Integer categoryNum;

    private String status;

    private String date;

    public OrderInfo() {
    }

    public OrderInfo(Long id, String userName, Double totalMoney, Integer categoryNum, String status, String date) {
        this.id = id;
        this.userName = userName;
        this.totalMoney = totalMoney;
        this.categoryNum = categoryNum;
        this.status = status;
        this.date = date;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public Double getTotalMoney() {
        return totalMoney;
    }

    public void setTotalMoney(Double totalMoney) {
        this.totalMoney = totalMoney;
    }

    public Integer getCategoryNum() {
        return categoryNum;
    }

    public void setCategoryNum(Integer categoryNum) {
        this.categoryNum = categoryNum;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getDate() {
        return date;
    }

    public void setDate(String date) {
        this.date = date;
    }

    @Override
    public String toString() {
        return "OrderInfo{" +
                "id=" + id +
                ", userName='" + userName + '\'' +
                ", totalMoney=" + totalMoney +
                ", categoryNum=" + categoryNum +
                ", status='" + status + '\'' +
                ", date='" + date + '\'' +
                '}';
    }
}
